<?php
# header('Content-Type: text/json');
require_once('inc.config.php');

/**
 * Some sample data
 *
 * @todo Warning: If indices/IDs are NON-CONTINUOUS, then it will errors in JSON javascript.
 * @todo Either improve the data quality or modify the client library
 */
$data=array();
for($i=0; $i<25; ++$i)
{
	$data[] = array(
		'name' => 'Name: '.$i,
		'profile' => JSON_API_RESOURCES_URL.'/profile.jpg',
	);
}

$json = json_encode_custom($data);
echo $json;
?>